<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
</head>
<body>
    <center>
        <h1>用户注册</h1>
        <form action="/regUser" method="get">
            <table border="1">
                <tr>
                    <td>用户名</td>
                    <td>
                        <input type="text" name="username">
                    </td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td>
                        <input type="password" name="password">
                    </td>
                </tr>
                <tr>
                    <td>昵称</td>
                    <td>
                        <input type="text" name="nickname">
                    </td>
                </tr>
                <tr>
                    <td>年龄</td>
                    <td>
                        <input type="text" name="age">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <!-- submit是提交按钮 -->
                        <input type="submit" value="注册">
                    </td>
                </tr>
            </table>
        </form>
    </center>    
</body>
</html>